/*
 * DownloadListener.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.net;

import com.yidiandao.business.data.net.exception.NetErrorInfo;

import java.io.File;

/** 文件下载的接口回掉. */
public interface DownloadListener {

    void onSuccess(File file);

    boolean onError(NetErrorInfo netErrorInfo);

    void onFinal();
}
